package com.qbccn.usercenter.service;

import com.qbccn.usercenter.domain.UcUser;
import com.qbccn.usercenter.domain.UcUserRole;
import com.qbccn.usercenter.dto.ResponsePageResult;
import com.qbccn.usercenter.dto.ResponseResult;
import com.qbccn.usercenter.vo.TreeListVo;
import com.qbccn.usercenter.vo.UserFindListVo;

import java.util.List;

/**
 * @author linke
 * @date 2020/5/23 21:00
 * @description
 */
public interface UserService {

    UcUser getUser(String username);

    List<UcUserRole> getRoles(Integer userId);

    ResponsePageResult<List<UserFindListVo>> getUserFindListVo(String systemCode, String username, int page, int size);

    ResponseResult<List<TreeListVo>> getTreeListBySystemCode(String systemCode);
}
